package com.jd.sys.mapper;

import com.jd.sys.domain.Role;
import com.jd.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author uco
 * @since 2023-07-09
 */
public interface RoleMapper extends BaseMapper<Role> {

    void addRolePermissions(Role role);

    void addRoleMenus(Role role);

    void delRolePermissionsByRoleId(Long id);

    void delRoleMenusByRoleId(Long id);
}
